# Description: Birçok özelliği destekleyen kapsamlı HTTP istemci kütüphanesi.
# URL: http://code.google.com/p/httplib2/
# Packager: milisarge
# Depends on: python

name=python-httplib2
version=0.9
release=1

source=(
https://github.com/jcgregorio/httplib2/archive/v${version}.tar.gz
$name.ssl_hostname.patch
$name.cert.patch)

build() {
    cd httplib2-$version
    # Patch, ref FS#36839
    patch -p1 -i $SRC/$name.ssl_hostname.patch
    # Patch, ref FS#40179
    patch -p1 -i $SRC/$name.cert.patch
    #
    python2 setup.py install --prefix=/usr --root=$PKG
}
